<template>
  <el-form label-position="top" class="p-10">
    <el-form-item label="获取数据模式">
      <el-radio-group v-model="activeData.extConfig.getmode">
        <el-radio label="obj">实例对象</el-radio>
        <el-radio label="id">实例id</el-radio>
      </el-radio-group>
    </el-form-item>
    <el-form-item label="流程实例ID" v-if="activeData.extConfig.getmode === 'id'">
      <VW v-model="activeData.extConfig.processInstId">
        <el-input v-model="activeData.extConfig.processInstId" placeholder="流程实例ID" />
      </VW>
    </el-form-item>
    <el-form-item label="流程实例对象" v-else-if="activeData.extConfig.getmode === 'obj'">
      <VW v-model="activeData.extConfig.processInstObj">
        <el-input v-model="activeData.extConfig.processInstObj" placeholder="流程实例对象" />
      </VW>
    </el-form-item>
  </el-form>
</template>
<script>
export default {
  name: "graph-config",
  props: ["activeData"],
  data() {
    return {};
  },
  computed: {},
  watch: {},
  methods: {},
};
</script>